import request from '@/utils/request_ry.js'

// 查询作业清单列表
export function listJyChargeList(query) {
  return request({
    url: '/jy/jyChargeList/list',
    method: 'get',
    params: query
  })
}

// 查询作业清单列表
export function getJyChargeList(id) {
  return request({
    url: '/jy/jyChargeList/' + id,
	loading: true,
    method: 'get'
  })
}

// 查询作业清单详细
export function getJyChargeDetail(id) {
  return request({
    url: '/jy/jyChargeList/getDetail/' + id,
    loading: true,
    method: 'get'
  })
}

// 新增作业清单
export function addJyChargeList(data) {
  return request({
    url: '/jy/jyChargeList',
    method: 'post',
    data: data,
	loading: true
  })
}

// 删除作业清单
export function delJyChargeList(id) {
  return request({
    url: '/jy/jyChargeList/' + id,
    method: 'delete'
  })
}
